import request from '@/utils/request'

// 查询查询命令WHERE条件关系列表
export function listBiSqlWhereRelationship(query) {
  return request({
    url: '/conf/BiSqlWhereRelationship/list',
    method: 'get',
    params: query
  })
}

// 查询查询命令WHERE条件关系详细
export function getBiSqlWhereRelationship(id) {
  return request({
    url: '/conf/BiSqlWhereRelationship/' + id,
    method: 'get'
  })
}

// 新增查询命令WHERE条件关系
export function addBiSqlWhereRelationship(data) {
  return request({
    url: '/conf/BiSqlWhereRelationship',
    method: 'post',
    data: data
  })
}

// 修改查询命令WHERE条件关系
export function updateBiSqlWhereRelationship(data) {
  return request({
    url: '/conf/BiSqlWhereRelationship',
    method: 'put',
    data: data
  })
}

// 删除查询命令WHERE条件关系
export function delBiSqlWhereRelationship(id) {
  return request({
    url: '/conf/BiSqlWhereRelationship/' + id,
    method: 'delete'
  })
}
